package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entiry.SpuDetail;
import cn.tedu.csmall.product.pojo.vo.SpuDetailStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * 处理SPU详情的Mapper接口
 */
@Repository
public interface SpuDetailMapper extends BaseMapper<SpuDetail> {

    /**
     * 根据SPU ID获取SPU详情
     * @param SpuId   SPU ID
     * @return        SPU详情
     */
    SpuDetailStandardVO getSpuBySpuId(Long SpuId);


}
